package com.you.weixinpay.service;

import java.util.Map;

public interface WxPayService {
    Map<String, Object> nativePay(Long productId) throws Exception;

    void processOrder(String outTradeNo);

    void refund(String orderNo, String reason) throws Exception;

    void processRefund(String outRefundNo, String refundStatus);

    void cancelOrder(String orderNo);

    String queryOrder(String orderNo) throws Exception;

    String queryRefund(String refundNo) throws Exception;
}
